package org.mysocial.services.business;

import java.util.List;

import javax.ejb.Asynchronous;
import javax.ejb.Local;

import org.mysocial.datamodel.Account;
import org.mysocial.datamodel.Comment;
import org.mysocial.datamodel.CommentNotification;
import org.mysocial.datamodel.Friendship;
import org.mysocial.datamodel.FriendshipRequestNotification;
import org.mysocial.datamodel.Like;
import org.mysocial.datamodel.LikeNotification;
import org.mysocial.datamodel.Message;
import org.mysocial.datamodel.MessageNotification;

@Local
@Asynchronous
public interface NotificationBusiness
{

	public CommentNotification notifyComment(Account account, Comment comment);

	public FriendshipRequestNotification notifyFriendshipRequest(
	    Friendship friendship);

	public LikeNotification notifyLike(Account account, Like like);

	public List<MessageNotification> notifyMessage(Message message);
}
